package org.jeecg.modules.knowledgeType.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.columnmanager.vo.ColumnManagerVO;
import org.jeecg.modules.knowledgeType.vo.KnowledgeColumnVO;

import java.util.List;

/**
 * @Description: 评论
 * @Author: jeecg-boot
 * @Date:   2020-11-12
 * @Version: V1.0
 */
public interface IKnowledgeColumnService extends IService<KnowledgeColumnVO> {

    /**
     * TODO: 自定义栏目分页
     *
     *
     * @author ZhangHaoyu
     * @param page
     * @return com.baomidou.mybatisplus.core.metadata.IPage<org.jeecg.modules.columnmanager.vo.ColumnManagerVO>
     */
    IPage<ColumnManagerVO> myPage(Page<ColumnManagerVO> page);

    /**
     * TODO: 删除
     *
     *
     * @author ZhangHaoyu
     * @param id
     * @return void
     */
    void myDelete(String id);

    /**
     * TODO: 根据知识库栏目名称获取id
     *
     *
     * @author ZhangHaoyu
     * @param name
     * @return java.lang.String
     */
    String getIdByName(String name);

    /**
     * TODO: 获取所有栏目信息
     *
     *
     * @author ZhangHaoyu
     * @param
     * @return java.util.List<org.jeecg.modules.columnmanager.vo.ColumnManagerVO>
     */
    List<ColumnManagerVO> queryAllColumn();

    /**
     * TODO: 不分页获取栏目信息
     *
     *
     * @author ZhangHaoyu
     * @return void
     */
    List<ColumnManagerVO> queryNotPage();

}
